package cn.edu.cdu.health.service;

import cn.edu.cdu.health.entity.Appointment;
import cn.edu.cdu.health.entity.AppointmentPageDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AppointmentService extends IService<Appointment> {
    // 分页查询预约
    Page<Appointment> pageQuery(AppointmentPageDto dto);
    // 查询单个预约
    Appointment getById(Long id);
    // 更新预约状态
    boolean updateStatus(Long id, Integer status);
}
